//
//  THTreeHoleDataController.h
//  TreeHole
//
//  Created by apple on 2020/9/18.
//  Copyright © 2020 stoneobs. All rights reserved.
//

#import "STTools_DataController.h"
#import "THTieZiCateModel.h"
#import "THTieZiModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface THTreeHoleDataController : STTools_DataController
//分类
+ (void)stoneobs_fun_get_home_cates_type:(NSString*)type handle:(void(^)(NSArray * cates))handle;
//获取已购商品 和分类共用模型
+ (void)stoneobs_fun_get_did_buy_goos:(void(^)(NSArray * cates))handle;
//删除帖子
+ (void)stoneobs_fun_send_delete_tiezi:(NSString*)t_id handle:(STTools_DataController_stoneobs_handle)handle;
//添加评论
+ (void)addcommentFormPosts_id:(NSString*)posts_id content:(NSString*)content handle:(STTools_DataController_stoneobs_handle)handle;

//点赞或者取消点赞
+ (void)addGoodOrCancleFormPosts_id:(NSString*)posts_id  handle:(STTools_DataController_stoneobs_handle)handle;

//收藏或者取消收藏
+ (void)addCollectionOrCancleFormPosts_id:(NSString*)posts_id  handle:(STTools_DataController_stoneobs_handle)handle;

//关注或者取消关注
+ (void)addAttentionOrCancleFormUser_id:(NSString*)user_id  handle:(STTools_DataController_stoneobs_handle)handle;

//帖子详情
+ (void)getTieZiDetailWithPosts_id:(NSString*)posts_id  handle:(void(^)(THTieZiModel*model))handle;
@end

NS_ASSUME_NONNULL_END
